package com.daxia.bumall.common;

/**
 * 标签类型
 * @author kevin
 *
 */
public enum TagType {
	Product(0, "产品标签"), 
	Designer(1, "设计师标签");

	private int value;
	private String remark;

	private TagType(int value, String remark) {
		this.value = value;
		this.remark = remark;
	}

	public int getValue() {
		return value;
	}

	public String getRemark() {
		return remark;
	}

	public static TagType getByValue(int value) {
		for (TagType o : TagType.values()) {
			if (o.getValue() == value) {
				return o;
			}
		}
		return null;
	}
}
